﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using S3.Common;

namespace S3
{
    public partial class SaleForm : S3FormBase
    {
        public SaleForm()
        {
            InitializeComponent();            
        }

        GridCheckMarksSelection _selection;
        internal GridCheckMarksSelection Selection
        {
            get
            {
                return _selection;
            }
        }

        private void SaleForm_Load(object sender, EventArgs e)
        {
            SaleGridView.Columns[0].GroupIndex = 0;
            SaleGridView.ExpandAllGroups();

            _selection = new GridCheckMarksSelection(SaleGridView);
            _selection.CheckMarkColumn.VisibleIndex = 0;
        }
    }
}
